<?php
/**
* tpl_prodcut_filter.php
*
*Zen Cart product filter module
  *Johnny Ye, Oct 2007
 *
 */

   	$content = "";
	$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
	
	$content .= '<div><a href="?main_page=product_filter_result&options_1=1">dddd</a></div>';
	
	$content .= '<div>'.PRODUCT_FILTER_TEXT_ALL_PRICE.':<a href="?main_page=product_filter_result&price_range=1">'.PRANGE1_WORD.'</div>';
	
	
	/*start  price range drop down*************************************************/
	if(SHOW_PRICE_RANGE){
		$prices =  array (array("id"=> 0, "text" => PRODUCT_FILTER_TEXT_ALL_PRICE),
				array("id"=> 1, "text" => PRANGE1_WORD),
				array("id"=> 2, "text" => PRANGE2_WORD),
				array("id"=> 3, "text" => PRANGE3_WORD),
				array("id"=> 4, "text" => PRANGE4_WORD),
				array("id"=> 5, "text" => PRANGE5_WORD));
		$content .= zen_draw_pull_down_menu('price_range', $prices, (isset($_GET['price_range']) ? $_GET['price_range'] : ''), '') . zen_hide_session_id();
	}
	
	$content .= '</div>';
?>

